package com.market.service.admin;

import com.market.bean.MarketCoupon;
import com.market.bean.MarketCouponUser;
import com.market.bean.common.BasePageInfo;
import com.market.bean.common.CommonData;

/**
 * @author fan
 * @Description:
 * @since 2022/12/29 14:14
 */

public interface AdminCouponService {
    CommonData<MarketCoupon> list(BasePageInfo info, String name, Short type, Short status);

    MarketCoupon create(MarketCoupon coupon);

    MarketCoupon update(MarketCoupon coupon);

    void delete(MarketCoupon coupon);

    CommonData<MarketCouponUser> listUser(BasePageInfo info, Integer couponId, Integer userId, Short status);

    MarketCoupon read(Integer id);
}
